{template admin/header}

<div id="main_wp" class="mt10">
	<form action="admin.php?mod=offer&code=dosetting" method="post"
		name="search">
		<table cellspacing="1" width="100%" align="center" class="tableborder">
			<tr class="header">
				<td colspan="2">基本设置</td>
			</tr>
			<tr>
				<td class="altbg1" width="150">是否开启悬赏应用</td>
				<td class="altbg2"><input name='open' id='open_1' type='radio'
					value='1' class="radio"{$checked['open'][1]} > <label
					for='open_1'>是</label> <input name='open' id='open_0' type='radio'
					value='0' class="radio"{$checked['open'][0]} > <label
					for='open_0'>否</label>&nbsp;&nbsp;<br>
					选择是，用户在可在前台发起、查看、参与悬赏，选择否即关闭；</td>
			</tr>
			<tr>
				<td class="altbg1" width="150">积分设置</td>
				<td class="altbg2"><label>最少悬赏积分</label> <input name='pMin'
					id='verify_1' value="{$config['offer_point_min']}">个<br> <label>最多悬赏积分</label> <input
					name='pMax' id='verify_1' value="{$config['offer_point_max']}">个</td>
			</tr>
			<tr>
				<td class="altbg1" width="150">期限设置</td>
				<td class="altbg2"><label>最小悬赏期限</label> <input name='dMin'
					id='verify_1' value="{$config['offer_day_min']}">天<br> <label>最大悬赏期限</label> <input
					name='dMax' id='verify_1' value="{$config['offer_day_max']}">天</td>
			</tr>
		</table>
		<center>
			<input class="button" type="submit" name="setting_submit"
				id="setting_submit" value="提 交">
		</center>
	</form>
</div>
<script type="text/javascript">
	document.onkeydown = function(event) {
		event = event || window.event;
		if (event.ctrlKey == true && event.keyCode == 13) {
			$("#setting_submit").click();
		}
	}
</script>